package com.tonyodev.fetch2rx.util;

import io.reactivex.Flowable;

import com.tonyodev.fetch2rx.Convertible;

/**
 * 工具类
 *
 * @since 2021-05-20
 */
public class RxUtils {
    /**
     * 将Flowable转换成Convertible
     *
     * @param flowable rx操作流
     * @return 可转换对象
     */
    public static final Convertible toConvertible(Flowable flowable) {
        return new Convertible(flowable);
    }
}
